<?php
class User_profile_model extends MY_Model{

    function __construct()
    {
        parent::__construct();
        $this->_table        =    'user_profiles';   //ten table trong db
        $this->primary_key    =    'id';     //khoa chinh
    }
}